package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 热料配置表业务对象 n_asphalt_match_hot
 *
 * @author tll
 * @date 2023-10-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class NAsphaltMatchHotBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 级配主键
     */
    @NotBlank(message = "级配主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private String matchId;

    /**
     * 筛孔大小
     */
    @NotNull(message = "筛孔大小不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal sieveSize;

    /**
     * 目标级配
     */
    @NotNull(message = "目标级配不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal target;

    /**
     * 骨料1占比
     */
    @NotNull(message = "骨料1占比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal gravel1;

    /**
     * 骨料2占比
     */
    @NotNull(message = "骨料2占比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal gravel2;

    /**
     * 骨料3占比
     */
    @NotNull(message = "骨料3占比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal gravel3;

    /**
     * 骨料4占比
     */
    @NotNull(message = "骨料4占比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal gravel4;

    /**
     * 骨料5占比
     */
    @NotNull(message = "骨料5占比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal gravel5;

    /**
     * 骨料6占比
     */
    @NotNull(message = "骨料6占比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal gravel6;

    /**
     * 粉料1占比
     */
    @NotNull(message = "粉料1占比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal powder1;

    /**
     * 粉料2占比
     */
    @NotNull(message = "粉料2占比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal powder2;

    /**
     * 粉料3占比
     */
    @NotNull(message = "粉料3占比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal powder3;

    /**
     * 再生料占比
     */
    @NotNull(message = "再生料占比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal recycledMaterial;


}
